package monsmon.game;

import java.util.*;
import monsmon.game.tmlt.GlobalDat;
import monsmon.game.draw.MsgQueue;

public class MonsGame{

	private HashMap<String, LevelMap> __levels;

	private LevelMap __current_lvl;

	
	public GlobalDat gd;

	public Entity player;
	
	public MsgQueue msgs = new MsgQueue();

	public MonsGame(){
		__levels = new HashMap<String, LevelMap>();
	}


	public void set_current_lvl(String lvlname){
		__current_lvl = __levels.get(lvlname);
	}
	
	public LevelMap get_current_lvl(){
		return __current_lvl;
	}

	public LevelMap get_level(String key){
		return __levels.get(key);
	}

	public void add_level(LevelMap lvl){
		__levels.put(lvl.get_name(), lvl);
	}

}
